<include file="__THEME__/header" />
<link href="../Public/css/space.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
var shareId = "";
function delShare( id ){
	shareId = id;
	$.tbox.confirm("{:L('confirm_del_title')}","{:L('del_title')}",{ok:"doDelShare"});
}

function doDelShare(){
	var getURL = "{:U('home/Share/delShare')}";
	$.post(getURL,{id:shareId},function(txt){
	    if(txt==0) {
			$.tbox.no('{:L(del_fail)}');
			setTimeout('$.tbox.close()',1500);
		}else {
		    window.location.href = 	window.location.href;
	    };
	});
}
function showComment(id){
	var infoId = '#info_'+id;
	var iconId = '#conmment_icon_'+id;
	var isDisplay  = $(infoId).css('display');
	
	if(isDisplay=='none'){
		$(infoId).css('display','');
		$(iconId).attr('class','conmment_icon');
	}else{
		$(infoId).css('display','none');
		$(iconId).attr('class','conmment_icon_01');
	}
}
</script>
<div class="contents lbg B">
    <!--左边信息 begin-->
    <include file="../Public/home_left" />
    <div class="contents_min w787">
      <h3 class="tit_h3">{:L('page_collect_title')}</h3>
      <php>if($count==0){</php>
      <div class="restore_box">{:L('message_tips_collect')}</div>  
      <php>}else{</php>
      
      <div class="list_conter">
        <div>
          <table width="800" border="0" cellpadding="0" cellspacing="0">
            <tr height="20" class="tdbor_b">
              <td width="65%" align="left" class="pl10">{:L('list_title')}（{$count}{:L('list_num')}）</td>
              <td width="10%" align="center">{:L('list_author')}</td>
              <td width="15%" align="left">{:L('list_ctime')}</td>
              <td width="10%" align="center">{:L('del_title')}</td>
            </tr>
            <volist name="data" id="vo">
              <tr class="tdbor">
                <td width="65%" align="left" class="pl10 colink f14 pt5 lh25">
                    <a href="{$vo.url}" target="_blank">{$vo.title|mStr=27}</a>
                    <php>if(!empty($vo['info'])){</php>&nbsp;&nbsp;&nbsp;<a class="con_a" href="javascript:void(0)" onclick="showComment({$vo.id})">{:L('comment_title')}<span class="conmment_icon_01" id="conmment_icon_{$vo.id}"></span></a><php>}</php>
                    <div class="ico_cite" id="info_{$vo.id}" style="display:none">{$vo.info}<span class="ico_cite2"/></div>
                </td>
                <td width="10%" align="center"><a href="{:U('space/view','uid='.$vo['fromUid'])}"  target="_blank">{$vo.fromUserName}</a></td>
                <td width="15%" align="left">{$vo.cTime|friendlyDate} </td>
                <td width="10%" align="center"><a  class="del_pic" href="javascript:void(0)" onclick="delShare({$vo.id})">&nbsp;</a></td>
              </tr>
            </volist>
          </table>          
          
          <div class="C">
          </div>
          <div class="page mb30 alR mt10">
            {$html}
          </div>
        </div>
      </div>
            <php>}</php>
      <div class="C">
      </div>
    </div>
    <!--中间信息 begin--->
    <div class="C">
    </div>
  </div>
  <include file="__THEME__/footer" /> 